package IO;

import java.io.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86185
 * Date: 2023-11-29
 * Time: 0:10
 */
public class Demo10 {
    public static void main(String[] args) throws IOException {
        try (OutputStream outputStream = new FileOutputStream("D:/test.txt")){
            outputStream.write(2);
        }
    }
}
